<template>
	<view>
		<p style="text-align: center; color: orange; font-size: 36rpx; margin-top: 40rpx;"  >{{ct.title}}</p>
		<u-parse :html="ct.content" :tag-style="style"></u-parse>
	</view>
</template>

<script>
	import {

		getTzListInfo
	} from '@/api/index.js';
	export default {
		data() {
			return {
				id:'',
				ct:'',
				style:{
					p:"font-size:28rpx;text-align:center;"
				}
			};
		},
		onLoad(res) {
			this.id = res.id
			this.getdata()
		},
		methods:{
			getdata(){
				getTzListInfo({
					id:this.id
				}).then((res)=>{
					console.log(res);
					this.ct = res.data
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
